package cn.linjianhui.flink.sample.web.model;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class WareCategoryStats {
    private long qty;
    private BigDecimal salesAmount;
    private String virtualCategory;

    public BigDecimal getSalesAmount() {
        return salesAmount.setScale(4, BigDecimal.ROUND_HALF_EVEN);
    }
}
